package book.service.impl;

import book.dao.jiluDao;
import book.entity.jilu;
import book.service.guihuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class guihuanServiceImpl implements guihuanService {

    @Autowired
    jiluDao ji;

    @Override
    public List<jilu> getAll(int of,int li,jilu j){
        return ji.getPage(of,li,j);
    }

    @Override
    public int getCount() {
        return ji.getCount();
    }

    @Override
    public jilu getById(String id) {
        return ji.getById(id);
    }


}
